From: Richard M. Stallman Date: Thu, 17 Feb 1994 02:59:48 +0000 (+0000) Subject: (init_sys_modes, reset_sys_modes): Test BSD_PGRPS. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~93097 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=0ba736093658ba2634b8d567dcec82181a998652;p=emacs.git (init_sys_modes, reset_sys_modes): Test BSD_PGRPS. (narrow_foreground_group, widen_foreground_group): Define if BSD_PGRPS. --- diff --git a/src/sysdep.c b/src/sysdep.c index 7953b41dbd0..058af1624d7 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -834,7 +834,7 @@ unrequest_sigio () /* Saving and restoring the process group of Emacs's terminal. */ -#ifdef BSD +#ifdef BSD_PGRPS /* The process group of which Emacs was a member when it initially started. @@ -878,7 +878,7 @@ widen_foreground_group () setpgrp (0, inherited_pgroup); } -#endif +#endif /* BSD_PGRPS */ /* Getting and setting emacs_tty structures. */ @@ -1111,7 +1111,7 @@ init_sys_modes () #endif #endif /* not VMS */ -#ifdef BSD +#ifdef BSD_PGRPS if (! read_socket_hook && EQ (Vwindow_system, Qnil)) narrow_foreground_group (); #endif @@ -1483,7 +1483,7 @@ reset_sys_modes () hft_reset (); #endif -#ifdef BSD +#ifdef BSD_PGRPS widen_foreground_group (); #endif }